package de.csvparser.util.dataset;

import java.util.ArrayList;


public class DataSet<T> extends ArrayList<T[]> {

	private static final long serialVersionUID = 1L;

	public DataSet() {
		
	}
	
	public void addData(T[] data) {
		add(data);
	}
	
	public void removeData(T[] data) {
		remove(data);
	}
	
	public T getData(int list, int index) {
		return (T) get(list)[index];
	}
	
}
